package com.dongjiantong.openplatform.entity;/**
 * Created by cao on 2017/12/13.
 */

import com.google.common.base.MoreObjects;

import java.io.Serializable;

/**
 * @author cao
 * @create 2017-12-13 下午8:04
 **/
public class OpClient implements Serializable {
    private static final long serialVersionUID = -8052765510614457951L;
    protected final Long clientId;
    protected final String appKey;

    public OpClient(Long clientId, String appKey) {
        this.clientId = clientId;
        this.appKey = appKey;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this).add("clientId", this.clientId).add("appKey", this.appKey).omitNullValues().toString();
    }

    public Long getClientId() {
        return this.clientId;
    }

    public String getAppKey() {
        return this.appKey;
    }
}
